
import Relay from "react-relay";
export default class saveProNumDetail extends Relay.Mutation {

    getMutation() {
        return Relay.QL`mutation { saveProNumDetail }`;
    }

    getVariables() {
        return {
            argsInput: {
                proNumIds:this.props.proNumIds,
                proNumDetailsJSON: this.props.proNumDetailsJSON ,
            }
        };
    }

    getFatQuery() {
        return Relay.QL`fragment on saveProNumDetailPayload {
            responseData {
              value
              errorCode
            }
        }`;
    }

    getConfigs() {
        return [{
            type: 'REQUIRED_CHILDREN',
            children: [Relay.QL` fragment on saveProNumDetailPayload  {
                    responseData {
                      value
                      errorCode
                    }
                 }
            `]
        }];
    }

}
/**
 * Created by yoyoyk on 2017/5/10.
 */
